package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceRingActivityModelConfig 戒指活动模式配置
type DanceRingActivityModelConfig struct {
	Id               int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivityId       int64          `json:"activityId" gorm:"column:activity_id;type:bigint;default:0;not null;comment:活动id"`
	ModelType        int64          `json:"modelType" gorm:"column:model_type;type:bigint;default:0;not null;comment:模式类型 1:求婚 2:订婚 3:结婚 4:求婚半价"`
	Switch           int64          `json:"switch" gorm:"column:switch;type:bigint;default:0;not null;comment:模式开关 0:关闭 1:开启"`
	FortuneValue     int64          `json:"fortuneValue" gorm:"column:fortune_value;type:bigint;default:0;not null;comment:福气值"`
	OpenRedPacketNum int64          `json:"openRedPacketNum" gorm:"column:open_red_packet_num;type:bigint;default:0;not null;comment:开红包数量"`
	GiftId           string         `json:"giftId" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment:刷礼物id"`
	GiftNum          int64          `json:"giftNum" gorm:"column:gift_num;type:bigint;default:0;not null;comment:刷礼物数量"`
	PkgHasElementNo  int64          `json:"pkgHasElementNo" gorm:"column:pkg_has_element_no;type:bigint;default:0;not null;comment:开启模式条件:背包拥有道具编号,0没有此条件限制"`
	CreateId         int64          `json:"create_id" gorm:"column:create_id;type:bigint;default:0;not null;comment:更新人id"`
	UpdateId         int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt        time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt        time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt        gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
